package com.xbdun.facade.validatebmp.request;

import java.util.HashMap;
import java.util.Map;

//发送模板邮件
public class TemplateMailRequest extends SimpleMailMessageRequest{
	private static final long serialVersionUID = 1L;
	private String templetName;//模板名称，EamilTempletEnum
	private Long templetCode;//模板编号，模板名称与编号不能同时为空
	Map<String,String> tempParams = new HashMap<String,String>();//模板对应的值
	public Long getTempletCode() {
		return templetCode;
	}
	public String getTempletName() {
		return templetName;
	}
	public Map<String, String> getTempParams() {
		return tempParams;
	}
	public void setTempletCode(Long templetCode) {
		this.templetCode = templetCode;
	}
	public void setTempletName(String templetName) {
		this.templetName = templetName;
	}
	public void setTempParams(Map<String, String> tempParams) {
		this.tempParams.putAll(tempParams);
	}
}
